package chapter3;

public class TestSort {
    
    static double[] testData = {7.9, 3.17, 0.3, 1.3e-2};

    /**
     * @param args
     */
    public static void main(String[] args) {
        //SortDouble bsort = new SimpleSortDouble();
        SortDouble bsort = new CheatSimpleSortDouble();
        
        SortMetrics metrics = bsort.sort(testData);
        System.out.println("Metrics: " + metrics);
        for(int i = 0; i < testData.length; i++){
            System.out.println("\t" + testData[i]);
        }
    }

}
